package com.ruoyi.oa.domain.vo;

import java.util.Date;

import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;



/**
 * 假期视图对象 oa_holiday
 *
 * @author ruoyi
 * @date 2023-07-12
 */
@Data
@ExcelIgnoreUnannotated
public class OaHolidayVo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private String id;

    /**
     * 假期时间
     */
    @ExcelProperty(value = "假期时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date holidayDate;

    /**
     * 假期名称
     */
    @ExcelProperty(value = "假期名称")
    private String name;

    /**
     * 节假日类型
     */
    @ExcelProperty(value = "节假日类型")
    private String type;


}
